'use client'

import React from 'react';

const InteractiveSpan: React.FC = () => {
  return (
    <span 
      className="cursor-pointer hover:bg-blue-200 transition-colors duration-300" 
      onClick={() => alert('你点击了这个 span！')}
    >
      点击我！
    </span>
  );
};

export default InteractiveSpan;

